﻿@model Vms.Web.Models.LIB_CONTENT_TXT
@Scripts.Render("~/Scripts/ckeditor/ckeditor.js")
@Scripts.Render("~/Scripts/jquery-ui-1.8.20.min.js")
@Scripts.Render("~/Scripts/jquery-ui-1.8.20.js")
<script type="text/javascript">
    CKEDITOR.replace('Txt');
    CKEDITOR.editorConfig = function (config) {
        ignoreEmptyParagraph = true;
    };
</script>

@* This partial view defines form fields that will appear when creating and editing entities *@
@Html.HiddenFor(model => model.TxtFileName)
<div class="editor-label">
    @Html.LabelFor(model => model.Txt)
</div>
<div class="editor-field">
    @Html.TextAreaFor(model => model.Txt, new { rows = 3, cols = 20 })
    @Html.ValidationMessageFor(model => model.Txt)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Txt_x)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Txt_x)
    @Html.ValidationMessageFor(model => model.Txt_x)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Txt_y)
    
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Txt_y)
    @Html.ValidationMessageFor(model => model.Txt_y)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Txt_Width)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Txt_Width)
    @Html.ValidationMessageFor(model => model.Txt_Width)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Txt_Height)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Txt_Height)
    @Html.ValidationMessageFor(model => model.Txt_Height)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.ShowSingleLine)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.ShowSingleLine)
    @Html.ValidationMessageFor(model => model.ShowSingleLine)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.FontName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.FontName)
    @Html.ValidationMessageFor(model => model.FontName)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.FontSize)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.FontSize)
    @Html.ValidationMessageFor(model => model.FontSize)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Bold)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Bold)
    @Html.ValidationMessageFor(model => model.Bold)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.FontColor)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.FontColor)
    @Html.ValidationMessageFor(model => model.FontColor)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.DisplayMode)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.DisplayMode)
    @Html.ValidationMessageFor(model => model.DisplayMode)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.RunSpeed)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.RunSpeed)
    @Html.ValidationMessageFor(model => model.RunSpeed)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.ShowTime)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.ShowTime)
    @Html.ValidationMessageFor(model => model.ShowTime)
</div>

